<?php
class Jobseeker extends AppModel {

	var $name = 'Jobseeker';

	//The Associations below have been created with all possible keys, those that are not needed can be removed
	var $belongsTo = array(
			'Religion' => array('className' => 'Religion',
								'foreignKey' => 'religion_id',
								'conditions' => '',
								'fields' => '',
								'order' => ''
			),
			'City' => array('className' => 'City',
								'foreignKey' => 'city_id',
								'conditions' => '',
								'fields' => '',
								'order' => ''
			)
	);

	var $hasOne = array(
			'Assistant' => array('className' => 'Assistant',
								'foreignKey' => 'jobseeker_id',
								'dependent' => false,
								'conditions' => '',
								'fields' => '',
								'order' => ''
			),
			'Clipboard' => array('className' => 'Clipboard',
								'foreignKey' => 'jobseeker_id',
								'dependent' => false,
								'conditions' => '',
								'fields' => '',
								'order' => ''
			),
			'Resume' => array('className' => 'Resume',
								'foreignKey' => 'jobseeker_id',
								'dependent' => false,
								'conditions' => '',
								'fields' => '',
								'order' => ''
			),
			'Testimonial' => array('className' => 'Testimonial',
								'foreignKey' => 'jobseeker_id',
								'dependent' => false,
								'conditions' => '',
								'fields' => '',
								'order' => ''
			)
	);

	var $hasMany = array(
			'Applicant' => array('className' => 'Applicant',
								'foreignKey' => 'jobseeker_id',
								'dependent' => false,
								'conditions' => '',
								'fields' => '',
								'order' => '',
								'limit' => '',
								'offset' => '',
								'exclusive' => '',
								'finderQuery' => '',
								'counterQuery' => ''
			),
			'Education' => array('className' => 'Education',
								'foreignKey' => 'jobseeker_id',
								'dependent' => false,
								'conditions' => '',
								'fields' => '',
								'order' => '',
								'limit' => '',
								'offset' => '',
								'exclusive' => '',
								'finderQuery' => '',
								'counterQuery' => ''
			),
			'Language' => array('className' => 'Language',
								'foreignKey' => 'jobseeker_id',
								'dependent' => false,
								'conditions' => '',
								'fields' => '',
								'order' => '',
								'limit' => '',
								'offset' => '',
								'exclusive' => '',
								'finderQuery' => '',
								'counterQuery' => ''
			),
			'jobseeker_skill' => array('className' => 'jobseeker_skill',
								'foreignKey' => 'jobseeker_id',
								'dependent' => false,
								'conditions' => '',
								'fields' => '',
								'order' => '',
								'limit' => '',
								'offset' => '',
								'exclusive' => '',
								'finderQuery' => '',
								'counterQuery' => ''
			),
			'Testimonial' => array('className' => 'Testimonial',
								'foreignKey' => 'jobseeker_id',
								'dependent' => false,
								'conditions' => '',
								'fields' => '',
								'order' => '',
								'limit' => '',
								'offset' => '',
								'exclusive' => '',
								'finderQuery' => '',
								'counterQuery' => ''
			),
			'Work' => array('className' => 'Work',
								'foreignKey' => 'jobseeker_id',
								'dependent' => false,
								'conditions' => '',
								'fields' => '',
								'order' => '',
								'limit' => '',
								'offset' => '',
								'exclusive' => '',
								'finderQuery' => '',
								'counterQuery' => ''
			)
	);
	var $hasAndBelongsToMany = array(
			'Skill' => array('className' => 'Skill',
						'joinTable' => 'jobseeker_skills',
						'foreignKey' => 'jobseeker_id',
						'associationForeignKey' => 'skill_id',
						'unique' => true,
						'conditions' => '',
						'fields' => '',
						'order' => '',
						'limit' => '',
						'offset' => '',
						'finderQuery' => '',
						'deleteQuery' => '',
						'insertQuery' => ''
			)
	);

}
?>